package com.chen.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.user.entity.User;
import com.chen.user.entity.UserLogin;
import com.chen.user.request.UserRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserPersonalMapper {


    int updateUser(@Param("userRequest") UserRequest userRequest);

    UserLogin register(@Param("user") UserLogin user);

    int insertUser(@Param("user") UserLogin user);

    UserLogin login(@Param("user") UserLogin user);
}
